package com.xw.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 登录请求参数实体类
 * @Author: ASUS
 * @Date: 2024/12/19 09:15
 * @Version: 1.0
 */
@Data
public class LoginReq {
    @NotBlank(message = "用户名不能为空")
    private String userName;
    @NotBlank(message = "密码不能为空")
    private String password;
//    @NotBlank(message = "登录角色不能为空")
//    private String role;
}
